Chris Pollett > Old Classes >
CS175

( Print View )

Student Corner:
  [Grades Sec1]

  [Submit Sec1]

  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW/Quiz Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HWs and Quizzes:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]  [Quizzes]

Practice Exams:
  [Mid]  [Final]

                           












HW#1 --- last modified February 07 2019 04:23:27..

Solution set.

Due date: Sep 17

Files to be submitted:
  Hw1.zip

Purpose: To develop your first mobile phone application, to get used to the development IDE.

Related Course Outcomes:

The main course outcomes covered by this assignment are:

Learning Outcome 1 (LO1) -- Create a working mobile phone application and test it both in a simulator and on a mobile device.

LO2 -- Write a mobile application that involves GUI components and makes use of touch events to manipulate these components.

Specification:

For this assignment you will create a mobile app which I describe below. You may create this app either for iPhone or for Android. If you do both or you do one plus an HTML 5 version of your app, I will give 1 bonus point. Since you can work in groups, I want to know that each group member can in fact install either Xcode or Eclispe with the android plugin and get the code to compile, so I will go around the class and check this on the due date. If possible please try to experiment with git, but I won't make it a requirement till the second homework.

To start in the design of your app, I would like you to come up with a list of three things that you do when you get up in the morning. For example, brush teeth, insert noise ring, spike hair. I want you to choose these things so that they make sense to do in different orders. I.e., it is okay to spike your hair before or after brushing your teeth. When a user launches the HW1 app, it should display a picture of you in the morning before you do these three things. Beneath this picture it should have three buttons which correspond to each of the three activities you came up with. Clicking on a given button toggles to a different view in which the picture shows you having done that activity. So, for example, clicking the noise ring button once would switch to a picture with the noise ring, and clicking again, would go back to one without; clicking once on the brush teeth button would go to a picture in which it was clear your teeth weren't dirty, clicking on the spiked hair button would then take you to a screen where your teeth weren't dirty and your hair was spiked. Above the picture, you should have a label which says what just happened. This label can start off by saying "Just got up". After tapping spike hair, it might say, "Just Spiked Hair" That's all there is to your app, below is a grade scheme for it.

Point Breakdown

Demo of installed IDE 1 pt
Code is formatted and documented in a reasonable manner 1 pt
Application has its own graphical icon. 1 pt
Application when launched displays a first view with appropriate buttons and label. All other screens have appropriate images, label, and buttons. 2 pts
Label updates to reflect what just happened 1pt
Buttons work as described and allow toggling of getting ready state. (1pt each ) 3 pts
General layout of buttons on a given screen is not egregiously unaesthetic , images clearly show the change of state in question (1pt). 1 pt
Total10pts